package com.zhiyou.app.shop.website.dao.pojo;

import java.math.BigDecimal;
import java.sql.Timestamp;


/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User  implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	private String userId;
     private String userAccount;
     private String recommendId;
     private String recommendCnt;
     private String parentId;
     private String location;
     private String level;
     private String matchType;
     private String enterType;
     private String nation;
     private String province;
     private String city;
     private String area;
     private String email;
     private String telCode;
     private String address;
     private String firstPwd;
     private String secondPwd;
     private String thirdPwd;
     private Timestamp registerDate;
     private String registerId;
     private String flag;
     private String activity;
     private Timestamp activityDate;
     private String creditLevel;
     private BigDecimal sparelAmount;
     private Integer sparel;
     private BigDecimal apaerAmount;
     private Integer sparer;
     private BigDecimal leftLeaveAmount;
     private Integer leftLeave;
     private BigDecimal rightLeaveAmount;
     private Integer rightLeave;
     private Integer layer;
     private String role;
     private Integer userSid;
     private String mainAccount;


    // Constructors

    /** default constructor */
    public User() {
    }

	/** minimal constructor */
    public User(String userAccount) {
        this.userAccount = userAccount;
    }
    
    /** full constructor */
    public User(String userAccount, String recommendId, String recommendCnt, String parentId, String location, String level, String matchType, String enterType, String nation, String province, String city, String area, String email, String telCode, String address, String firstPwd, String secondPwd, String thirdPwd, Timestamp registerDate, String registerId, String flag, String activity, Timestamp activityDate, String creditLevel, BigDecimal sparelAmount, Integer sparel, BigDecimal apaerAmount, Integer sparer, BigDecimal leftLeaveAmount, Integer leftLeave, BigDecimal rightLeaveAmount, Integer rightLeave, Integer layer, String role, Integer userSid, String mainAccount) {
        this.userAccount = userAccount;
        this.recommendId = recommendId;
        this.recommendCnt = recommendCnt;
        this.parentId = parentId;
        this.location = location;
        this.level = level;
        this.matchType = matchType;
        this.enterType = enterType;
        this.nation = nation;
        this.province = province;
        this.city = city;
        this.area = area;
        this.email = email;
        this.telCode = telCode;
        this.address = address;
        this.firstPwd = firstPwd;
        this.secondPwd = secondPwd;
        this.thirdPwd = thirdPwd;
        this.registerDate = registerDate;
        this.registerId = registerId;
        this.flag = flag;
        this.activity = activity;
        this.activityDate = activityDate;
        this.creditLevel = creditLevel;
        this.sparelAmount = sparelAmount;
        this.sparel = sparel;
        this.apaerAmount = apaerAmount;
        this.sparer = sparer;
        this.leftLeaveAmount = leftLeaveAmount;
        this.leftLeave = leftLeave;
        this.rightLeaveAmount = rightLeaveAmount;
        this.rightLeave = rightLeave;
        this.layer = layer;
        this.role = role;
       // this.userSid = userSid;
        this.mainAccount = mainAccount;
    }

   
    // Property accessors

    public String getUserId() {
        return this.userId;
    }
    
    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserAccount() {
        return this.userAccount;
    }
    
    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getRecommendId() {
        return this.recommendId;
    }
    
    public void setRecommendId(String recommendId) {
        this.recommendId = recommendId;
    }

    public String getRecommendCnt() {
        return this.recommendCnt;
    }
    
    public void setRecommendCnt(String recommendCnt) {
        this.recommendCnt = recommendCnt;
    }

    public String getParentId() {
        return this.parentId;
    }
    
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getLocation() {
        return this.location;
    }
    
    public void setLocation(String location) {
        this.location = location;
    }

    public String getLevel() {
        return this.level;
    }
    
    public void setLevel(String level) {
        this.level = level;
    }

    public String getMatchType() {
        return this.matchType;
    }
    
    public void setMatchType(String matchType) {
        this.matchType = matchType;
    }

    public String getEnterType() {
        return this.enterType;
    }
    
    public void setEnterType(String enterType) {
        this.enterType = enterType;
    }

    public String getNation() {
        return this.nation;
    }
    
    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getProvince() {
        return this.province;
    }
    
    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return this.city;
    }
    
    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return this.area;
    }
    
    public void setArea(String area) {
        this.area = area;
    }

    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }

    public String getTelCode() {
        return this.telCode;
    }
    
    public void setTelCode(String telCode) {
        this.telCode = telCode;
    }

    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }

    public String getFirstPwd() {
        return this.firstPwd;
    }
    
    public void setFirstPwd(String firstPwd) {
        this.firstPwd = firstPwd;
    }

    public String getSecondPwd() {
        return this.secondPwd;
    }
    
    public void setSecondPwd(String secondPwd) {
        this.secondPwd = secondPwd;
    }

    public String getThirdPwd() {
        return this.thirdPwd;
    }
    
    public void setThirdPwd(String thirdPwd) {
        this.thirdPwd = thirdPwd;
    }

    public Timestamp getRegisterDate() {
        return this.registerDate;
    }
    
    public void setRegisterDate(Timestamp registerDate) {
        this.registerDate = registerDate;
    }

    public String getRegisterId() {
        return this.registerId;
    }
    
    public void setRegisterId(String registerId) {
        this.registerId = registerId;
    }

    public String getFlag() {
        return this.flag;
    }
    
    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getActivity() {
		return activity;
	}

	public void setActivity(String activity) {
		this.activity = activity;
	}

	public Timestamp getActivityDate() {
        return this.activityDate;
    }
    
    public void setActivityDate(Timestamp activityDate) {
        this.activityDate = activityDate;
    }

    public String getCreditLevel() {
		return creditLevel;
	}

	public void setCreditLevel(String creditLevel) {
		this.creditLevel = creditLevel;
	}

	public BigDecimal getSparelAmount() {
        return this.sparelAmount;
    }
    
    public void setSparelAmount(BigDecimal sparelAmount) {
        this.sparelAmount = sparelAmount;
    }

    public Integer getSparel() {
        return this.sparel;
    }
    
    public void setSparel(Integer sparel) {
        this.sparel = sparel;
    }

    public BigDecimal getApaerAmount() {
        return this.apaerAmount;
    }
    
    public void setApaerAmount(BigDecimal apaerAmount) {
        this.apaerAmount = apaerAmount;
    }

    public Integer getSparer() {
        return this.sparer;
    }
    
    public void setSparer(Integer sparer) {
        this.sparer = sparer;
    }

    public BigDecimal getLeftLeaveAmount() {
        return this.leftLeaveAmount;
    }
    
    public void setLeftLeaveAmount(BigDecimal leftLeaveAmount) {
        this.leftLeaveAmount = leftLeaveAmount;
    }

    public Integer getLeftLeave() {
        return this.leftLeave;
    }
    
    public void setLeftLeave(Integer leftLeave) {
        this.leftLeave = leftLeave;
    }

    public BigDecimal getRightLeaveAmount() {
        return this.rightLeaveAmount;
    }
    
    public void setRightLeaveAmount(BigDecimal rightLeaveAmount) {
        this.rightLeaveAmount = rightLeaveAmount;
    }

    public Integer getRightLeave() {
        return this.rightLeave;
    }
    
    public void setRightLeave(Integer rightLeave) {
        this.rightLeave = rightLeave;
    }

    public Integer getLayer() {
        return this.layer;
    }
    
    public void setLayer(Integer layer) {
        this.layer = layer;
    }

    public String getRole() {
        return this.role;
    }
    
    public void setRole(String role) {
        this.role = role;
    }

    public String getMainAccount() {
        return this.mainAccount;
    }
    
    public void setMainAccount(String mainAccount) {
        this.mainAccount = mainAccount;
    }

	public Integer getUserSid() {
		return userSid;
	}

	public void setUserSid(Integer userSid) {
		this.userSid = userSid;
	}
    
    
}